//
//  LoopProgressView.h
//  ImagePicker
//
//  Created by YH on 2018/4/26.
//  Copyright © 2018年 王跃. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(int, LoopProgressViewState) {
    LoopProgressViewStateUnkonwn    = 0,
    LoopProgressViewStateBegin      = 1,
    LoopProgressViewStateEnd        = 2,
    LoopProgressViewStateCancel     = 3,
};

@protocol LoopProgressViewDelegate;

@interface LoopProgressView : UIView

@property (nonatomic, weak) id <LoopProgressViewDelegate> delegate;

- (void)removeCircleShapeLayer;

@end

@protocol LoopProgressViewDelegate<NSObject>

- (void)loopProgressViewRecordedState:(LoopProgressViewState)loopProgressViewState;

@end
